﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000ACD RID: 2765
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MarkReadMailCsReq : IMessage<MarkReadMailCsReq>, IMessage, IEquatable<MarkReadMailCsReq>, IDeepCloneable<MarkReadMailCsReq>, IBufferMessage
	{
		// Token: 0x170022E3 RID: 8931
		// (get) Token: 0x06007BB5 RID: 31669 RVA: 0x0014A468 File Offset: 0x00148668
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MarkReadMailCsReq> Parser
		{
			get
			{
				return MarkReadMailCsReq._parser;
			}
		}

		// Token: 0x170022E4 RID: 8932
		// (get) Token: 0x06007BB6 RID: 31670 RVA: 0x0014A46F File Offset: 0x0014866F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MarkReadMailCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170022E5 RID: 8933
		// (get) Token: 0x06007BB7 RID: 31671 RVA: 0x0014A481 File Offset: 0x00148681
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MarkReadMailCsReq.Descriptor;
			}
		}

		// Token: 0x06007BB8 RID: 31672 RVA: 0x0014A488 File Offset: 0x00148688
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkReadMailCsReq()
		{
		}

		// Token: 0x06007BB9 RID: 31673 RVA: 0x0014A490 File Offset: 0x00148690
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkReadMailCsReq(MarkReadMailCsReq other) : this()
		{
			this.id_ = other.id_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007BBA RID: 31674 RVA: 0x0014A4B5 File Offset: 0x001486B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkReadMailCsReq Clone()
		{
			return new MarkReadMailCsReq(this);
		}

		// Token: 0x170022E6 RID: 8934
		// (get) Token: 0x06007BBB RID: 31675 RVA: 0x0014A4BD File Offset: 0x001486BD
		// (set) Token: 0x06007BBC RID: 31676 RVA: 0x0014A4C5 File Offset: 0x001486C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x06007BBD RID: 31677 RVA: 0x0014A4CE File Offset: 0x001486CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MarkReadMailCsReq);
		}

		// Token: 0x06007BBE RID: 31678 RVA: 0x0014A4DC File Offset: 0x001486DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MarkReadMailCsReq other)
		{
			return other != null && (other == this || (this.Id == other.Id && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007BBF RID: 31679 RVA: 0x0014A50C File Offset: 0x0014870C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007BC0 RID: 31680 RVA: 0x0014A54B File Offset: 0x0014874B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007BC1 RID: 31681 RVA: 0x0014A553 File Offset: 0x00148753
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007BC2 RID: 31682 RVA: 0x0014A55C File Offset: 0x0014875C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Id != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Id);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007BC3 RID: 31683 RVA: 0x0014A590 File Offset: 0x00148790
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007BC4 RID: 31684 RVA: 0x0014A5CE File Offset: 0x001487CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MarkReadMailCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007BC5 RID: 31685 RVA: 0x0014A5FF File Offset: 0x001487FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007BC6 RID: 31686 RVA: 0x0014A608 File Offset: 0x00148808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Id = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002F42 RID: 12098
		private static readonly MessageParser<MarkReadMailCsReq> _parser = new MessageParser<MarkReadMailCsReq>(() => new MarkReadMailCsReq());

		// Token: 0x04002F43 RID: 12099
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002F44 RID: 12100
		public const int IdFieldNumber = 14;

		// Token: 0x04002F45 RID: 12101
		private uint id_;
	}
}
